const router = require("koa-router")();
const ShopcarModel = require("../../models/shopcar")
router.get("/m1/doDelete",async ctx=>{
    var {id} = ctx.query;
    // console.log(ctx.query)
    await ShopcarModel.deleteOne({_id:id})
    ctx.redirect("/m1")
})
module.exports = router;